package org.example.exp2.exam6.shallow;

import java.io.*;

public class Customer implements Cloneable {
   private String name;
   private boolean sex;
   private int age;
   private Address customerAddress;

   public Customer(String name, boolean sex, int age, Address customerAddress) {
      this.name = name;
      this.sex = sex;
      this.age = age;
      this.customerAddress = customerAddress;
   }

   public Address getCustomerAddress() {
      return customerAddress;
   }

   public String getName() {
      return name;
   }

   @Override
   public Object clone() throws CloneNotSupportedException {
      return super.clone();
   }
}